<div id="header">
			<div id="contentheader">
				<div id="logo"><img src="<?php echo BASE_PATH;?>/img/newlogo.png" /></div>
				<div id="slogan"><label>Git Box</label></div>
				<div id="welcome"><label><?php echo $username; ?>'s Repository</label></div>
				<div id="logout"><a href="<?php echo BASE_PATH;?>/panel/logout"><label>logout</label></a></div>
			</div>
		</div>
<div id="main">
	<div id="explorerbox">
		<fieldset>
			<div class="recordfile">
				<div id="uponelevel"><a href="<?php echo BASE_PATH;?>/panel/index"><img src="<?php echo BASE_PATH;?>/img/up.png" /></a></div>
				<div id="filename"><label class="titlerecord">File Name</label></div>
				<div id="filesize"><label class="titlerecord">Size</label></div>
				<div id="filelastmodified"><label class="titlerecord">Last Modified</label></div>
				<div id="filedownload"><label class="titlerecord">Download File</label></div>
			</div>
			<?php
				foreach($arrayfile as $iterarrayfile){
			?>
			<div class="recordfile">
				<div class="logofile">
					<img src="<?php echo BASE_PATH;?>/img/<?php 
						if($iterarrayfile['type']=='rar' || $iterarrayfile['type']=='zip'){
							echo "rar.png";
						}else if($iterarrayfile['type']=='txt'){
							echo "txt.png";
						}else if($iterarrayfile['type']=='xls' || $iterarrayfile['type']=='xlsx'){
							echo "xls.png";
						}else if($iterarrayfile['type']=='doc' || $iterarrayfile['type']=='docx'){
							echo "doc.png";
						}else if($iterarrayfile['type']=='ppt' || $iterarrayfile['type']=='pptx'){
							echo "ppt.png";
						}else if($iterarrayfile['type']=='mp3' || $iterarrayfile['type']=='mp4'){
							echo "audio.png";
						}else if($iterarrayfile['type']=='avi' || $iterarrayfile['type']=='mov' || $iterarrayfile['type']=='flv'){
							echo "vid.png";
						}else if($iterarrayfile['type']=='pdf'){
							echo "pdf.png";
						}else{
							echo "notfoundfile.png";
						}
					?>
					" />
				</div>
				<div class="name"><label class="fontname"><?php echo $iterarrayfile['name']; ?></label></div>
				<div class="size"><label class="fontsize"><?php echo $iterarrayfile['size']; echo " byte" ?></label></div>
				<div class="lastmodified"><label class="lastmodifiedsize"><?php echo $iterarrayfile['lastmodified']; ?></label></div>
				<div class="download"><div class="logodownload"><a href="<?php echo $iterarrayfile['pathdownload'];?>"><img src="<?php echo BASE_PATH;?>/img/download.png" /></a></div></div>
			</div>
			<?php
				}
			?>
		</fieldset>
	</div>
</div>
<div id="footer"></div>	
